package com.pactera.madp.cp.api.em.beta;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @title 资讯状态
 * @date 2022-06-10
 * @author Deming.Chang
 */
@Getter
@AllArgsConstructor
public enum NewsStateEnum {
    //  0-未编辑 1-未发布 2-已发布 3-待审批
    UN_EDIT(0, "未编辑"),
    UN_PUBLISH(1, "未发布"),
    PUBLISHED(2, "已发布"),
    UN_APPROVE(3, "待审批"),
    REJECTED(4,"已驳回");

    private Integer state;    // 类型
    private String name;    // 名称
}
